package com.sunny.service;

import com.sunny.dataobject.ProductCategory;
import lombok.Data;

import javax.persistence.Entity;
import java.util.List;

/**
 * 类目
 * Created by dell on 2018/3/29.
 */
public interface CategoryService {

     ProductCategory findOne(Integer id);

     List<ProductCategory> findAll();

     List<ProductCategory> findByCataegoryTypeIn(List<Integer> cataegoryTypeIn);

     ProductCategory save(ProductCategory productCategory);
}
